package com.project2.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class WxCouponMyListVo {
    Integer id;
    Integer cid;
    Double discount;
    Double min;
    String desc;
    String name;
    String tag;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date endTime;
    Boolean available;

    public WxCouponMyListVo() {
    }

    public WxCouponMyListVo(Integer id, Integer cid, Double discount, Double min, String desc, String name, String tag, Date startTime, Date endTime, Boolean available) {
        this.id = id;
        this.cid = cid;
        this.discount = discount;
        this.min = min;
        this.desc = desc;
        this.name = name;
        this.tag = tag;
        this.startTime = startTime;
        this.endTime = endTime;
        this.available = available;
    }
}
